#!/usr/bin/env node

const {program}=require('commander');

const {version}=require('./package.json');

const {actionHandle}=require('./utils/action')
//定义指令
program
    .option('-w')
    .description('file curd')
    .action(actionHandle)


// 解析进程参数
program.version(version).parse(process.argv)